@SET SPDIR="c:\program files\common files\microsoft shared\web server extensions\12\bin\stsadm.exe" 
@SET SERVER_URL="https://moss-test.slac.stanford.edu/"

%SPDIR% -o deactivatefeature -name "Excel2XPS" -url %SERVER_URL% -force
%SPDIR% -o uninstallfeature -name "Excel2XPS" -force
%SPDIR% -o retractsolution -name "Excel2XPS.wsp" -immediate
pause

%SPDIR% -o deletesolution -name "Excel2XPS.wsp"

pause

